package entity;

import java.util.Date;

/*
杨威
2021/9/6
15:30
*/
public class Student {
    private int stuId;
    private String stuName;
    private String stuGender;
    private String stuPhone;
    private Date bornDate;
    private String stuEmail;
    private String stuAddress;
    private int gradeId;

    public Student() {
    }

    public int getStuId() {
        return stuId;
    }

    public void setStuId(int stuId) {
        this.stuId = stuId;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuGender() {
        return stuGender;
    }

    public void setStuGender(String stuGender) {
        this.stuGender = stuGender;
    }

    public String getStuPhone() {
        return stuPhone;
    }

    public void setStuPhone(String stuPhone) {
        this.stuPhone = stuPhone;
    }

    public Date getBornDate() {
        return bornDate;
    }

    public void setBornDate(Date bornDate) {
        this.bornDate = bornDate;
    }

    public String getStuEmail() {
        return stuEmail;
    }

    public void setStuEmail(String stuEmail) {
        this.stuEmail = stuEmail;
    }

    public String getStuAddress() {
        return stuAddress;
    }

    public void setStuAddress(String stuAddress) {
        this.stuAddress = stuAddress;
    }

    public int getGradeId() {
        return gradeId;
    }

    public void setGradeId(int gradeId) {
        this.gradeId = gradeId;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stuId=" + stuId +
                ", stuName='" + stuName + '\'' +
                ", stuGender='" + stuGender + '\'' +
                ", stuPhone='" + stuPhone + '\'' +
                ", bornDate=" + bornDate +
                ", stuEmail='" + stuEmail + '\'' +
                ", stuAddress='" + stuAddress + '\'' +
                ", gradeId=" + gradeId +
                '}';
    }

    public Student(String stuName, String stuGender, String stuPhone, Date bornDate, String stuEmail, String stuAddress, int gradeId) {
        this.stuName = stuName;
        this.stuGender = stuGender;
        this.stuPhone = stuPhone;
        this.bornDate = bornDate;
        this.stuEmail = stuEmail;
        this.stuAddress = stuAddress;
        this.gradeId = gradeId;
    }

    public Student(int stuId, String stuName, String stuGender, String stuPhone, Date bornDate, String stuEmail, String stuAddress, int gradeId) {
        this.stuId = stuId;
        this.stuName = stuName;
        this.stuGender = stuGender;
        this.stuPhone = stuPhone;
        this.bornDate = bornDate;
        this.stuEmail = stuEmail;
        this.stuAddress = stuAddress;
        this.gradeId = gradeId;
    }
}
